package com.example.tdck.dao;

import com.example.tdck.pojo.Effect;
import com.example.tdck.pojo.Event;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface EventDao {

    public Event getRandomByMajor(int major);

    public void insert(String context, Effect effect, int major);

}
